import service from '@/utils/request'

export const divingcontent = () => {
  return service({
    url: '/diving/divingcontent',
    method: 'post'
  })
}

export const divingGetidContent = (params) => {
  return service({
    url:'/diving/divingGetidContent',
    method:'get',
    params
  })
}

export const divingCreateContent = (data) => {
  return service({
    url:'/diving/divingCreateContent',
    method:'post',
    data
  })
}

export const divingDeleteContent = (params) => {
  return service({
    url:'/diving/divingDeleteContent',
    method:'delete',
    params
  })
}

export const divingUpdateContent = (data) => {
  return service({
    url:'/diving/divingUpdateContent',
    method:'put',
    data
  })
}